from django.contrib import admin
from blog.models import Article

# Register your models here.

class ArticleAdmin(admin.ModelAdmin):
    list_display = ['title', 'content', 'time', 'username']
    ordering = ['title']

admin.site.register(Article, ArticleAdmin)